import  logging

def log_set():
    logging.basicConfig(filemode="a+", filename="log.log", format=" %(message)s-%(process)d- %(threadName)s  ", level=logging.DEBUG)